Fix clucene-HEAD compile on Mavericks

Fixes HEAD compile, using patch from CLucene bugtracker.