Lazily load idle-require and fix daemon init