Several path-related fixes for building.

 - Config file installs to correct location.
 - Workdir placed into prefix.
 - Default config uses daemon mode.