Fixed build on 10.7