improved Makefile for build on Windows