Fix compiler pass factory