pass --libdir to ./configure (x86-64 target needs it)