adding nm_memory.h to the installed files
adding a define guard around internal nmatrix calls and defining that in
the cflags. these were leaking out into c project compiles since the
external interface is provided in nmatrix.h