Some fixes to running dagobahd (via pip install)