depends_on :python don't set any LDFLAGS

Setting LDFLAGS to `-F HOMEBREW_PREFIX/opt/python/Frameworks`
breaks at least the scipy build. Perhaps others, too.
linkapps: replace #max_by with #max

Enumerable#max_by didn't exist in 1.8.6, so linkapps failed on Leopard.