fix compilation of grammatic converter