build+tests: Fixing c++11 mode compilation and correcting integrated test with faces

Change-Id: I32e34d6b2ee8cfd85ec83f62323dd7a51f2238d6
diff --git a/tests/security/test-certificate-cache.cpp b/tests/security/test-certificate-cache.cpp
index 2f8c1a2..e12e0e0 100644
--- a/tests/security/test-certificate-cache.cpp
+++ b/tests/security/test-certificate-cache.cpp
@@ -38,7 +38,7 @@
 {
   boost::asio::io_service io;
   shared_ptr<CertificateCacheTtl> cache =
-    make_shared<CertificateCacheTtl>(boost::ref(io), time::seconds(1));
+    make_shared<CertificateCacheTtl>(ref(io), time::seconds(1));
   Scheduler scheduler(io);
 
   shared_ptr<IdentityCertificate> cert1 = make_shared<IdentityCertificate>();