[CMake] Rename 'eiimage_core' target to 'core'
[Plugins] Fix compilation on Linux & Windows