fix windows compilation