I fixed the above by moving my EXEC_PATH call to after the if EXEC_PATH statement. Now I get this:
C:DerrickGitHubrt-thread-master-vanillart-thread-mastercomponentslibccompilerscommonctime.c:700:10: fatal error: resource_id.h: No such file or directory
700 | #include <resource_id.h>
| ^~~~~~~~~~~~~~~
Ask Again, cannot locate ARM GNU toolchain while trying to build the raspberry pi 4 64 bit sample code