Fix scripts to use new global MINGW_PACKAGE_PREFIX variable instead locally defined