makefile compatibility with windows fixed (experimental)