Change EDITOR definition to "mate -w"
Remove -wKU flag from pg_copy
Add bin/pg_rebuild