Fix invalid libdir configure option on rubies compilation