fix build on Debian Squeeze