use prefix for curl

Right now this formula always installs to /usr/lib/zookeeper-3.4.6. This PR makes it configurable via prefix.