Use of Undefined type even though the required files are included

For some reason the header tool is not recognizing the BehaviorTree directory and the .h file in it . . here is the simple code i am trying to compile but no luck . .
p.s. I have also included the AIModule in my build file.

#include "EnemyAIController.h"
#include "EnemyCharacter.h"
#include "BehaviorTree/BehaviorTree.h"
#include "BehaviorTree/BlackboardComponent.h"
#include "BehaviorTree/BehaviorTreeComponent.h"
#include "BehaviorTree/Blackboard/BlackboardKeyAllTypes.h"



AEnemyAIController::AEnemyAIController()
{
	BBEnemy = CreateDefaultSubobject<UBlackBoardComponent>(TEXT("BlackBoard Component"));
	BTEnemy = CreateDefaultSubobject<UBehaviorTreeComponent>(TEXT("Behavior Tree Component"));
}

void AEnemyAIController::Possess(APawn * inPawn)
{
	Super::Possess(inPawn);
	AEnemyCharacter *Character = Cast<AEnemyCharacter>(inPawn);

	if (Character && Character->EnemyBehavior)
	{
		BBEnemy->InitializeBlackBoard(*Character->EnemyBehavior->BlackBoardAsset);
		EnemyKeyId = BBEnemy->GetKeyId("Target");
		BTEnemy->StartTree(*Character->EnemyBehavior);
	}

}

OMG . . For all the noobs like me . . the mistake was simple its UBlackboardComponent with small ‘b’ of board and i was typing UBlackBoardComponent . . :stuck_out_tongue: