Fixed: non-makefile builds now retain version number

propagated from master branch.