fixing build for NodeJS v0.6.x