Fix memory corruption when using -o
build: must explicitly list header

"make dist" only pulls the files listed.
cosmetic: remove trailing whitespace
timesync: make it build without DAG support