check_ipo_supported taking a long time

Just for information. With a quick and dirty workaround in my process. I tested the copy-past solution. At first glance it seems to work (and I see the time gained for configuration).