stop using ranlib (closes bpo-31625) (#3815)

Instead, simply pass 's' to ar.
4 files changed