removing unused libs from spec