Fix Windows build, add build Makefile