fix build on debian squeeze