adapting clang settings and flags to build with node