Fix lib dir on newer debian based distros.

Debian >= 7.0 and Ubuntu >= 12.04 use lib instead of lib64.