Updated makefile to include platform independent compilation as well as ...

...library creation