buildsystem/ide; makefile generation; fixed $(VER) to appear only when needed and to have no effect on windows.