Really fix a bug that daemonize doesn't work on OS X

The previous commit doesn't solve the problem. >_<