Replace dict comprehension with older style; py26 can't handle them.