fixed win32/64 build