improved archlinux support with dynamic look up of plibdir