fix grit build