pthread_sigmask: always replace when not using pthread