Fix some parentheses

I assume that this is what was intended.
Use pthread_kill on OS X too

Fixes signals004(threaded1,threaded2) on OS X 32.
Fix signals004 on OS X 32