bootstrap.sh: strip GNU build ID

On my system the build IDs differ between stage 2 and 3 binaries, so strip them off when comparing binaries.