Html5 compile doesn't see included folders, Win64 does

I’m using Assimp and MongoDB libraries, and when I compile for HTML5, it doesn’t find the headers in the include folders, even though I have it setup properly in build.cs and it works in Win64. What gives?

Build.cs:

using System.IO;
using UnrealBuildTool;

public class ArtGallery : ModuleRules
{
	public ArtGallery(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ProceduralMeshComponent" });

		PrivateDependencyModuleNames.AddRange(new string[] {  });

        if ((Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32))
        {
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/Assimp/include"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/Assimp/bin/assimp.lib"));
        }

        if (Target.Platform == UnrealTargetPlatform.Win64)
        {
            PublicIncludePaths.Add("G:/Program Files/Boost/boost_1_65_1");
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/include/mongocxx/v_noabi"));
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/include/bsoncxx/v_noabi"));
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/include/libmongoc-1.0"));
            PublicIncludePaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/include/libbson-1.0"));
            PublicLibraryPaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/lib"));
            PublicLibraryPaths.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/lib/mongocxx.lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongocxx/lib/bsoncxx.lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/lib/mongoc-static-1.0.lib"));
            PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../../ThirdParty/MongoDB/mongoc/lib/bson-1.0.lib"));
        }

        // Uncomment if you are using Slate UI
        // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });

        // Uncomment if you are using online features
        // PrivateDependencyModuleNames.Add("OnlineSubsystem");

        // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
    }
}

Example error:

2>EXEC : warning : K:/Unreal Projects/ArtGallery/Source/ArtGallery/ProceduralEntity.h:6:10: fatal error: 'assimp/Importer.hpp' file not found

I’m dumb… the if statements are only including on Win platforms, duh.