add boost example
changes for lockfile and daemonize_singleton