Applied QNX support for GC-7.2d
Added pthread.h includion before pthread_mutex_t is used.