extend build stats with data provided by get_system_info, stop using deprecated get_core_count function