Only look for ZLib when it is used (if tests are included).

Also make the project language C.