daemon: fixed daemon start on some platforms. Closes: #239