(maint) Use cotire and rework logging for unity builds

(maint) Add cotire to the build to reduce build times.
(maint) Rework logging for unity builds