Use the proper variable when setting ac_safe in smart check include.