Fix node version check