allow a two step patch process compatible with Travis CI