Hi Luis.  Sorry for this late reply but I finally transplanted tk's
extconf.rb from trunk to 1.8.7.  Can you see if it works?  I will
release it when it is OK.