Herein lies the problem. It shouldn’t be compiled with the engine.
Generally, the plugin shouldn’t go into your engine Plugins directory at all, but rather into your project Plugins directory. Alternatively, you could try to place the plugin within the engine Plugins directory **after **you fully compile it (tho I haven’t tested it).