Fix invocation of apps.base.notify() from apps.base.waitpid()