Unreverse prefix and build-dir.