Fix build failure with debian kfreebsd and hurd

This should avoid the 
"../core/liblucene++.so.3.0.6: undefined reference to `Lucene::Constants::OS_NAME'" error, and fix issue #75
Merge pull request #76 from LocutusOfBorg/patch-1

Fix build failure with debian kfreebsd and hurd