MNT: Remove compression shared libraries from global options
These flags should be able to be isolated in the znzlib project. A couple of other changes:
- Removed
-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTRfrom compiler flags - this was added to be able to use old versions oflibxml++which usedstd::auto_ptr, and should no longer be necessary. - Fix the default
-archflag on macOS (only relevant when using an alternate compiler toolchain).