Clean up: extract logic to drop privileges, free by default.
Clean up: don't assign in variable declarations
Remove a TODO that will never be fulfilled.
Stop building shared and profiled libraries