4.18 linkage errors

Hi,
I get the new 4.18 version and I got some issues when compiling the Engine (UE4 project)

In /UE4/Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShader.h
VS compiler give a linkage error (c4273 inconsistent dll linkage)
I manage to find why

The problem is the use of
class RENDERER_API FNiagaraShader : public FShader

Which conflict with a static declared variable in the DECLARE_SHADER_TYPE macro
static RequiredAPI ShaderMetaType StaticType;

I fix that in removing the RENDERER_API before the class name, but I predict some pb if we want to activate the plugin.

Is there something I miss somewhere ?