Fix compiling as wrong type in win32.