Remove unused linked libraries