Fixed all compiler warnings on win32