Fix case issues in includes. Remove extern C. Additional formatting.