fix isinf for win32