fix: uses doctrine mapping compiler when CoreBundle is not installed

Fallback doctrine orm mapping in case CoreBundle is not installed