correct g4 compilation and begin schema def grammar