Fix OSGi dependency resolution.

Thanks @nicolas-f. See irstv/Java-Network-Analyzer#4 and
irstv/Java-Network-Analyzer#5.