Instead of using LD_LIBRARY_PATH we provide the rpath from cmake, as otherwise the clang compiler is also missing the dependency.