It seems a false positive is blocking ahk2exe from compiling Autohotkey scripts
Can you upload the file on virustotal and share the link here.
Regards