migrated C-based components to compile with Clang/LLVM under OS X hosts