Uppercase inconsistencies

Fixed some uppercase reference inconsistencies that affect running on Linux.