another fix for windows compilation