On non-linux OS nanosleep() now uses nanosleep(2) fallback