Fixed to compile on Debian Wheezy