Move builder of server base paths into build_base().