Remove unnecessary libs