Add support for building when texinfo-5.x and gperf-3.0.4 are installed.