Download and patch grammar as part of build