build, gyp: check clang and fix dollar warning