Fix regressions (75949cf) and improve version handling. Only recompile the files that use the version defines after every git commit instead of everything. Fix dosemu.spec generation and DOSEMU_VERSION environment string for global.conf and the Welcome string in autoexec.bat.