You can check the file at virustotal and if it seems that it is a false positive then you should be able to set an exception for the file or folder in your antivirus.
It may be useful to disable antivirus in build folders anyway, to make the build faster. It should not be significant security risk, because if your compiler generates infected executables then your computer is already compromised.