added clang parameters to buildModule