Make sure configure script looks for alternate installs of python/ruby/perl/tcl (and lua)

Without --enable-*interp=dynamic, the configure script doesn't recognize homebrew's installs of python or ruby (and presumably perl, tcl, and lua).