JBTM-1470 keep the option to condionally build the AS

Re-instate [ $AS_BUILD = 1 ] && build_as "$@"