Removal of unnecessary libs