Remove unused warning on non-win32