Fix warnings in win32 ffi
Remove unnecessary win32 linkage