Add support for versionned shared libs and general cleanup of makefiles
Avoid generating octal numbers in include/stamp.h
Fix misspelled configure option
Add the make target "make ut" that runs the unit tests