Use $(get_libdir) over hardcoded lib

Fixes https://bugs.gentoo.org/show_bug.cgi?id=510040
Need to inherit multilib for get_libdir.
Merge branch 'multilib-510040'