add compile_nif.escript and update Makefile