Remove ltcg from static libs.
Disable additional warnings.