fixed packaging of libhpdf and freeimage libraries on Debian, when
using the LOCAL version
also running tests on ubuntu 10.04 and Debian 6