Sync dirs after rebuilding