A bit of cleanup for zn_poly's spkg-install:
1) Implement DESTDIR support and use sage-dist-helpers where useful (#24024)
2) Remove SAGE64 support (#23733)
3) Improve Cygwin support--in particular don't install .so files to lib/ (#14208)
Depends on #25039
Depends on #23733
Component: build
Keywords: destdir zn_poly cygwin
Author: Erik Bray
Branch/Commit: a677f80
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/25085