fix sleep for newer unistd.h from mingw