buildsystem/ide; makefile generation; fixed $(VER) to appear only when needed and to be empty under windows even if $(VERSION) is specified.