I would like to help fix this build problem, but I am unable to reproduce the problem on my system with the version of the package in unstable. If you would provide a link to the version 2.5.1 you are trying to build, I would be glad to help -- Luke Cycon <lcycon at gmail.com>