Fixed minor errors in Windows MinGW build caused by Mint refactor