Fixed compilation problem for node v0.10