std: Make unlinking and task notification work with newsched