gyp: fix post-mortem in v0.11

Expose missing constants and keep symbols on OSX.