update Makefile with nif compilation rule