Delete useless libs in sample.