Fix building on 10.7