Remove unnecessary includes and libs.