Fix subversion compilation when apache is present on the host system (#1737)