Fix multi-arch configure issue for apache.