Fixed compile issue on Windows.