Fixes for version checker script on osx
Fixes for version checker script on osx

The script that checks to make sure sure the version numbers are
consistent wasn't written to with bsd utilities or older versions of
bash. This should fix it.

lwtnn/lwtnn,jwsmithers/lwtnn,lwtnn/lwtnn,jwsmithers/lwtnn,jwsmithers/lwtnn,lwtnn/lwtnn