export VERSION as well
handle dots in build numbers

necessary to be able to handle checkincounter.rebuildcounter