Fix for node v0.8