add installation rule for libraries