C89-ifying memcached

the config.cmake.h is what I used to build on my
solaris box...

Change-Id: If69d07d3572374e1451a17089c5703eca2e20b89
Add platform wrapper

Change-Id: I5a8df31c1528f1957ab1bbc8dc460d38e426a956