Made the hard-coded QGIS_PREFIX into an environment variable