accept INSTALLDIR from env