Added extern "C" in library inclusion