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.

fixed!