How to add Visual Studio UE_SERVER definition for server targets?

For all Debug, Development, Shipping, Test Server build configurations UE_SERVER is 0 inside Visual Studio. Is there a way to define it?

I tried ProjectDefinitions, GlobalDefinitions inside server target cs file and PublicDefinitions, PrivateDefinitions inside Build.cs.