Removes conflicting libraries.
Add libraries again.