`which` is not silent on Linux
allow setting the COMPOSER_DIR variable