TargetType.Server does not recongize headers other targets regonize

I have modified my primary game module to include startup and shutdown. When building client and/or game targets, this works perfectly. When building for server target… it fails. Any thoughts?

#include "EvoVerses.h"
#include "Modules/ModuleManager.h"
#include "OnlineSubsystemRedpointEOS/Shared/Authentication/AuthenticationGraphRegistry.h"
#include "EOS_EvoVersesProvider/EvoVersesAccountProvider.h"

void FEvoVerses::StartupModule()
{
    FAuthenticationGraphRegistry::RegisterCrossPlatformAccountProvider(
        FName(TEXT("EvoVersesAccountSystem")),
        MakeShared<FEvoVersesAccountProvider>());
}

void FEvoVerses::ShutdownModule() {}

IMPLEMENT_PRIMARY_GAME_MODULE( FEvoVerses, EvoVerses, "EvoVerses" );