The issue is thrown when you try to build or/and rebuild all. Is it possible to have genbuild.sh from other github project like bitcoin to fix it?