Update lzo function to lzo2 API. Allow shared_quazip and shared_lzo2 config options. Don't link openssl when it isn't needed.