My fixes in order to build a deb file without using the braindead makefile shinanigans.