Fixing compilation of passes