build: Fix compilation against the latest version of ndn-cxx

Change-Id: Ie19e6432231a586efa9be1975e5601cf78c2dce9