fixed missing extern C for cpp in makecert.h