Make Mac dependencies work on 10.7+. This causes some weird artifacts. See #633