fixes msw compile, linking still an issue