fix compile on windows:

nice job writing crossplatform code :)