take into account that realpath may not be available
enable Riak Search and force ipv4 for curl
Merge pull request #210 from basho-labs/fixes/lrb/setup-script

Fixes/lrb/setup script