fixed up windows compilation