fix compile with node v0.11.3 - closes #158 - refs #151