fixed windows compilation