configure: test for large page sizes

Intended to fix PPC64 builds.
avoid compiler warnings