[squash]Build works with/out NO_ENGINE and NO_AFALG