Rewrite paths in YC.Tools build script