remove unnecessary libs