Updated build scripts for yank and repex.
Moved build scripts inline for repex.