Clean up of main library Makefile to extract out the library version once into a make variable for easy reference.