build fix on debian squeeze