[dist] support node 0.10+