Adapt lib for eclipse