remove 'root' from 'buildFolderPaths'