Added extern "C" to headers.