lowercase all EMMA_* typedefs