fix compile against node v0.8.x - closes #3