use weak symbols for the POSIX functions that will be used by C threads