This allows using cxx_library targets to link to local libraries via e.g. exported_linker_flags=['-lpthreads'].