Support older node versions on OSX