Try configuration option --with-libdir