Make main .jar OSGi compatible