Fix Ruby automake

There is a typo or error in the automake file that prevents the Ruby
library from being found or properly linked in.