Defined USE_XP_SEMAPHORES so semaphore.h is not included (Could have caused different sizes for sem_t)