Fix setting path to MinGW.