Fix Windows compile-time error