Fixes generation of OSGi metadata