Fix Windows builds