Possible fix for ClassLoader problems in OSGi environments