resolve compiling error in win32