configure and main Makefile fix in niff2ly