fix mod_perl breakage caused by bug 977969