change dict comprehension to use dict constructor

Small fix to make PyKeyboard work in Python 2.6 (default on CentOS 6).
Throws a syntax error otherwise.