fixes to the core_archive build