move version replacement to makefile