Use `git describe` to print correct version string

Also leverage the zopt_compat file to replace the fixed version string
(that gengetopt requires) with a function call.

Fixes #36