Fix node v0.11 compatibility