makefile: fix version script