Remove unnecessary thirdparty libs