build: specify node.js version
build: improve platform portability