Update Makefile to work on Windows

Makefile doesn't work on Windows when using GNU make command line utility.
The error is a known bug qnd here is the workaround.