Reduce warnings in some compile settings.