Updated build for osgi libraries.