Support forcing p2 tasks to be enabled for preprocessing.