Fix condition for detecting if we're in nodejs or not.