The default detected libdir is based on the build architecture. On ubuntu, it is `lib/x86_64-linux-gnu` which is obviously not the right directory. Let's simply use `lib`. Fix #556