fix for bug #3

in the makefile, get the git hash, and use this as the version number in global.h