Link libraries statically.

While using the internal copy of libcintelhex, supply a -static flag
to avoid the need to install libcintelhex.so system-wide or fiddle
around with LD_LIBRARY_PATH.