Fix root paths in builds