Mac build fix on 10.9 #688