Fix Internal Error 2502 and 2503 on Windows 10