remove the dependency on unused libs.