new make targets "shared" and "static"
install both versions by default
Tell the linker that this depends on libz