It's an old story. It was reported many times here as a false positive, probably some part of the code (like CPU mining) is still recognized as a malware by antiviruses. Try to compile on a separate Linux box from source if you can, or use an isolated virtual machine.