How to include Runtime/CoreUObject/Public/UObject/Class.h

Whenever I try to include the aforementioned file in my class, I get this error: 1>Engine\Source\Runtime/CoreUObject/Public/UObject/Class.h(10): fatal error C1083: Cannot open include file: ‘UObject/Script.h’: No such file or directory

I tried adding “Runtime/CoreUObject/Public/UObject/” in PublicIncludePaths.AddRange in Build.cs but to no avail. How do I fix this?