use distribution specific lib path

some distros use /lib instead of /lib64