fatal error: ProfilingGuid.hpp: No such file or directory while compiling pyarmnn using swig 4.0.2

I am trying to build pyarmnn 22.08 on raspberry pi os 64 bit (Buster). while trying to compile it i get the following error 

src/pyarmnn/_generated/armnn_wrap.cpp:2951:10: fatal error: ProfilingGuid.hpp: No such file or directory
#include "ProfilingGuid.hpp"
^~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

p.s. I was able to compile the 20.05 version without any problem at all but unfortunately 21.11 or 22.08 does not work and gives the above error