added targets for lib and tools