Make EC2 deployments compatible with older revisions of NixOS (14.04 and master) by adding copy of 'either' function if it is not available. We can remove this after in the next version of nixops.