Add cotire support to speed up builds.