autoconfig hack

* filter out -Werror and -pedantic when building clang_delta
* include --system-libs into LLVM_LDFLAGS

patch provided by Reid Kleckner. Thanks!
update with respect to clang's api changes

verified with r202941

patch provided by Reid Kleckner