bldenv.sh: allow usage as a wrapper