Fixed to support node 0.8 via npm