Makefile changes to make compilation easier with MSVS + fix sleep