macosx: MacOS X doesn't have sigtimedwait()