added a target to build a static library

renamed the shared object using the standard 'lib' prefix

added a main Makefile to allow building/installing the library from the top directory