bld: check that the required env vars are defed