grab MDOC_VERSION properly

Needed to grab from the Thread classloader apparently