Fix printing of correct version with '-v'