clang needs the library paths as well