fix built with 10.8SDK