nohup: fix build on Macs (closes #463)