Makefile now makes libraries
Added support for c++ in library header file