Fixed win compile error.