Fix #30

Fix the parsing of OSGi versions.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>