More things

Corrected some build options
- Changed %ld to %zd 
- Inserted explicit cast for compress2() in zlib.

Added --noverify option to alllow self-signed / broken certs (useful for testing).

This pull request probably looks a bit funny due to some config issues on my side as well as pulling from master. My fault - getting used to the github way of doing things :)