link tb to system libraries