fix version missmatch issue

We had to keep track of the version in two places, now the build file
grabs the version from MDOC_VERSION