Capitalization discrepancy between header and cpp