Fixed Makefile.am for ncmaster