node: add MUNIN_LIBDIR env

This makes enables official plugins to work, as they need plugin/plugin.sh
node: do *not* cast the result of malloc

helmut, on IRC :
    please *never* cast the result of malloc.
    http://c-faq.com/malloc/mallocnocast.html
    (also applies to xmalloc of course)