Automatically set version number in source files