In case of non-OSGi environment replacing ClassLoaderResourceAccessor
with a non tricky one.