Fixed a small compile error on Windows