Fix Makefile.gen.rb and README.md.gen.rb