Update PassManagers to be compatible with both ExecutionEngine and TargetMachine.