fix version copy

VERSION to MDOC_VERSION was not working properly