Makefile changes, close server when compiling on Windows