Support earlier versions of node