configure: use v* tag for version and check dirty