patch to work with berkeley grammars on os x