fixed xapianaccessor on static linux