Fix performance issue with compile if no default locals are defined
Fix multiple redefinition of block-level tags