Fix: use dict constructor for Python 2.6

Starting with Python 2.7 we can use a dict comprehension, however in
previous versions you cannot and therefore need to use a dict
constructor in order to remain compatible. For more info see this
[StackOverflow answer](http://stackoverflow.com/a/1747827/1988505).