fftw.rb: fix error finding fftw.o

Also add a debugging method