The following commands should be used to build NFD:
./waf configure ./waf
If NFD needs to be installed
sudo ./waf install