Fix binwalk unbrewed libs

Fix https://github.com/Homebrew/homebrew/issues/30025.
Invert this conditional to be `if build.head?`; house style discourages `unless ... else`.