Fix #861: configure.sh fails on Mac OS X

https://github.com/OpenBazaar/OpenBazaar/issues/861 

This updated configure.sh works on macs, both on fresh installs and on upgrades from the last release.

ok cool, i'll remove it. there are lots of comments like that one though.