Fix for MSVS whole program optimization overriding local optimization