Building uproject Linux

Hi,
I have built UE5.2 from source on Ubuntu 20.04. Using the dotnet UnrealBuildTool.dll command to rebuild my project on a Linux machine. Having the following error with generated cpp files having incorrect includes:

@progress ‘Compiling C++ source code…’ 20%
[2/10] Compile Module.S4.2_of_4.cpp
In file included from /home/jared/src/ms-ue4/build/S4/Intermediate/Build/Linux/x64/UnrealEditor/Development/S4/Module.S4.2_of_4.cpp:2:
/home/jared/src/ms-ue4/build/S4/Intermediate/Build/Linux/UnrealEditor/Inc/S4/UHT/GPS.gen.cpp:8:10: fatal error: ‘…/…/…/Source/S4/ms-robots/components/sensors/GPS.h’ file not found
include “…/…/…/Source/S4/ms-robots/components/sensors/GPS.h”
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any assistance would be greatly appreciated,
Cheers