Fix integer types to use definition from c.h. Per bug report by Patrick Boulay <patrick.boulay@medrium.com>