install nodejs and npm on gentoo

small changes that make this work on a current gentoo/puppet setup