Would redefining pthread_sigmask in pthread-fixes.h be okay?