get node binary from path more flexibly