Don't test 'dist=build' with enableallfeatures.
Merge pull request #3631 from rjackson/do_not_enable_all_features_in_built_tests

Don't test 'dist=build' with enableallfeatures.