support 64bit systems
backward compatibility with version less than 0.11.0-rc1
Merge pull request #1 from rogerwang/master

sync with rogerwang/nw-gyp