(library) Fix root folder update on Linux