Makes this compile again on 1.3.x systems, reported in PR 10322 by Olaf Seibert <rhialto@polder.ubc.kun.nl> and others.