Fix lib dir on newer debian based distros.

This fixes a bug in the last release, where the libdir was incorrectly set on newer debian based distros.