Use C++ instead of C, as most of the libs are C++ anyway