Only add add linker option if compiler is clang