rib: Fix TestFibUpdates/EraseFace on Ubuntu 14.04 32-bit

Change-Id: I1381bc3eb813a1afad9b666fba30688216ee38dc
Refs: #2697
diff --git a/rib/rib-entry.hpp b/rib/rib-entry.hpp
index c3efbb7..52f070f 100644
--- a/rib/rib-entry.hpp
+++ b/rib/rib-entry.hpp
@@ -146,10 +146,10 @@
   /** \brief Returns the route with the lowest cost that has the passed face ID.
    *  \return{ The route with the lowest cost that has the passed face ID}
    */
-  shared_ptr<const Route>
+  const Route*
   getRouteWithLowestCostByFaceId(uint64_t faceId) const;
 
-const Route*
+  const Route*
   getRouteWithSecondLowestCostByFaceId(uint64_t faceId) const;
 
   /** \brief Returns the route with the lowest cost that has the passed face ID
@@ -157,7 +157,7 @@
    *  \return{ The route with the lowest cost that has the passed face ID
    *           and its child inherit flag set }
    */
-  shared_ptr<const Route>
+  const Route*
   getRouteWithLowestCostAndChildInheritByFaceId(uint64_t faceId) const;
 
   const_iterator