Build fix: added check for the pthread library
Build fix: configure.ac: fixed module versions

Fixed wrong versions of several packages in the configuration file.
Probably older versions would work as well, but I don't have resources
to support them.