Fix  windows compilation