Fix compilation problems when _SC_PAGE_SIZE is not defined by the OS.