Kubuntu 11.04 Panda 1.7.2 build problems

This issue has been fixed since 1.7.2. Either build a more recent release, or use the hand-fix mentioned in the thread that hertius linked to.