Fix osx clang linking