Fix ANTLR compiling settings.