Fix possible issues with build on win32
Fix possible warnings on win32