initial windows support (still a big pile of garbage, just as the previous stuff)
fixed Makefile