Fixing osgi dependencies