this fixes compilation error on win32