fixing some lib resolution in debian/rules.