Maybe use INSTALLS instead of QMAKE_EXTRA_COMPILERS and allow to override the directory with an env variable?