Make getDefaultWireFormat call newInitialDefaultWireFormat if needed, instead of relying on a static initializer.
diff --git a/ndn-cpp/encoding/WireFormat.hpp b/ndn-cpp/encoding/WireFormat.hpp
index 7eb9b31..fb4b9c2 100644
--- a/ndn-cpp/encoding/WireFormat.hpp
+++ b/ndn-cpp/encoding/WireFormat.hpp
@@ -37,10 +37,7 @@
    * setDefaultWireFormat.
    * @return A pointer to the WireFormat object.
    */
-  static WireFormat *getDefaultWireFormat() 
-  {
-    return defaultWireFormat_;
-  }
+  static WireFormat *getDefaultWireFormat();
   
 private:
   /**