Use type traits from boost instead of std to let them work across compiler versions
Add -Wno-unused-local-typedefs
Add missing header file
Get memcache extensions to work with newer versions of memcache