fix for linux: compile with libz statically