build, gyp: fix warnings about dollar for osx