makefile: fix typos
makefile: improve version string handling

* add var USE_VERSION_SUFFIX.
* enable USE_VERSION_SUFFIX if the project is version controlled and has
  local changes.