A different way to make version detection more robust.

This one will actually work with versions of the software that
put the version on STDERR.