Install node only if necessary