Fixed compile on Windows.