Makefile revision for shared library building and Version file addition