quick and dirty fix to support lucene 4.2