add fastlz library for ext_memcached

The PHP memcached extension (which ext_memcached emulates) uses fastlz
compression by default. A follow-up commit to hhvm/hhvm will add fastlz support
for the HHVM extension.
[1/2] fix thrift build on OSX