Make tests pass both with Debian and RedHat.