working compilation for node v0.10