library dependency handler. exclude whole lib packages