cvc3 compatibility layer; and another libantlr3c v3.4 incompatibility fix