libmemcached: fix osx yosemite build

make cross-platform compatiblity
Update libmemcached.rb
libmemcached: update 1.0.18 bottle.