fixed up makefiles for windows