Eliminate unnecessary libraries