Moving nanosleep tests to non-mingw