fix to define significant macros just before '#include <pthread.h>' statement