Fixed win32 build due to unix compatibility diff.