REFACTOR: root is actually always a file. Lets call it as such.
REFACTOR: root is actually always a file. Lets call it as such.

Also have a helper function to get the current build_dir.

zaphar/ucg,zaphar/ucg,zaphar/ucg,zaphar/ucg