Fix Windows compile error