updated makefile, made header C++ friendly