Avoid duplicate dependency on OSGi APIs
This causes a failure when running the unit tests in Eclipse.