Update subtargets.sh
Set ENABLE_LANGUAGES before check.