build node version correctly