Rebuild genghis core files