How to suppress 'Referenced directory ...\GameLiftServerSDK\Public does not exist' on the Unreal Engine plugin

I’m sure the developers have already figured this out, but for those who don’t. If you’re getting a warning like the one stated in the title, then the fix is to go to the plugin’s GameLiftServerSDK.Build.cs file and replace these lines of code

    PublicIncludePaths.AddRange(
new string[] {
"GameLiftServerSDK/Public"
}
);
PrivateIncludePaths.AddRange(
new string[] {
"GameLiftServerSDK/Private",
}
);

with

PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "Public"));
PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Private"));

And add

using System.IO;

to the top of this file as well.