you would need to find some way to ground the third pin,usually to a metal stake in the ground,but if you have all metal pipes,you can attach it to those.
The best way is to run a line for the ground since you are missing the bare copper wire in the circuit. You can hook it up the same but it may not function as well as it should.