Add node_lib target which builds a static library.

With this other projects would be possible to include node as a third
party library and embed a node engine in their applications.