Use MINGW_PREFIX

Corrections as per Alex