add clang support for bsd