build: use a consistent version of osgi.core

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
build: put osgi.core early in buildpaths to prevent further build breakage

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>