Better way of checking for node version.