fixed warning: intptr_t printf %x
binding.gyp: using pkg-config instead of environment variable