I think your approach is wrong. You should try to build your package
inside a chroot with the system-shipped library instead. You can use
pbuilder, cowbuilder or sbuild for that.
Thank you for this great suggestion. I knew nothing about this before.
Anyhow, I've now build various chroot for my needs.