Support older versions of node (pre 0.10)