Add missing libexecinfo dependency, fix cmake, and add note about git --depth.

Thanks to humdinger for noticing this!