Allow build without .git folder
Created by: dilawar
Since cmake generate the version information from GIT, it would not build if the source-code does not have .git directory. This should not be the case.
Create a VERSION file in source code and update it at each commit. Let cmake read it in case git files are not available.