Fixed build failed because of libzip wrong version

After the commit 3652634dc09bf3d6d533a8c3dc46cd9bd5f6ce4b upgrade libzip, we are required 0.11+ (The version is not updated I will propose another)

This patch add lipzip version detection and fallback to bundled libzip
when incompatible libzip found.

Closes #3177