Be compatible with node v0.10.x