Fix compiler warning.

Now that we don't use the old conversion string we can get ride of the
caps variable.
Don't use Zlib specific types.

Ulong and Bytef are ZLIB specific and on platforms that don't have
zlib this gives compile errors.
Fix dummy function defined.
Fix compile error.