Current trunk/head is at version 4.7. We only need to fix up version 4.6.x. So we do need a version check.

Checking ``build.head?`` would be enough at present, to catch ``--HEAD``. The fix up would then need to be removed when updating the formula for the next release version.