x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
As notified by selmf (thanks!), actual maintainer, we were using obsolete source.
Enabled bz2, xz and zip support too.
And now both static and shared libraries are availables.
This should fix#1723.