If Gatekeeper is enabled, the binaries you're downloading must have been signed by a valid developer ID. IIRC binaries you compile yourself get whitelisted automatically.