codesign --remove-signature bd
codesign --force --sign - ./bd
If you don't do this then macOS interrogates Apple servers to do a malware check every time the binary is run, because it has an ad hoc (machine specific) signature that's not for the current machine. This makes running bd very slow.