Update genmake.sh

Add version variable.