Fix bugs so .deb files can be used from anywhere