Silence console errors on Windows builds