Fixing warnings and building a trampoline for clang.