Patches to compile in Ubuntu and Debian

In order to compile libldm in Ubuntu and Debian, two patches are necessary:
1. Relax version requirements for zlib and uuid
2. Modify g_warning calls that conflict with -Werror=format-security
These patches come from the Debian package available at http://packages.debian.org/source/sid/libldm (unfortunately this Debian package itself is not very usable as it contains an older version of libldm that segfaults in some circumstances). I tested these patches by successfully compiling and running ldmtool under Ubuntu 12.10.