OS X 10.9 compile fix