Remove GNUisms of find usage in regen.sh.