Fix qt on Leopard

This fixes compiling qt on Leopard.
Please use the patch DSL described here: https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook#patches