Fix UNIX CMake (and OS X autotools) builds for Heimdall CLI