Use autoconf macro to compare versions.
This should fix problems on systems where `find` doesn't know how to sort version numbers.
Merge pull request #41 from fancycode/autoconf_version_check

Use autoconf macro to compare versions.