fixed makefiles to work better with windows