Fix: Compilation for Debian Wheezy (thanks Melursus)
http://blizzlike.dx.am/index.php?topic=52.0