Adds extern "C" ints to the .cpp files that use RegisterTarget, as