Don't set pdfpage{width,height} on LuaTeX > 0.85.
Use shellesc package instead of write18.
Also set page{width,height} on LuaTeX >= 0.85.
Here's a super-simple patch that does that, but it does mean you need to update the version in two places. This could be avoided by running substition on clipper.hpp too if that seems annoying.
pkgconfig file missing version
Thanks; the latest version appears to be installing just fine. Only a small note...
Installing geographiclib 1.46 via pip fails with the following error: $ pip install...