I didn't update my libcod for years and the prebuilt binaries are even older

Just use vorons fork and build it from source, its pretty painless, since its only a few .cpp files: https://github.com/voron00/libcod

Once you are running vorons libcod, you can try to "hack" your own server with q3dirtrav and see if everything else still works