disable irrelevant libs in benchmark