Fixing build failures

OS: Ubuntu 12.04 LTS 64-bit
NodeJS: v0.10.12