Remove unnecessary libs and dlls