Fix for ISO C90 compliance

I have problem installing Attic via PIP after system upgrade. The cause is PIP is compiling with the flag:

    -Werror=declaration-after-statement

It can be fixed by putting the declaration to the top of the function.

Thanks.

pip.log: http://pastebin.com/yGGP2MA0
Distro: Archlinux
Python: 3.4.0
GCC: 4.8.2