fixes for deb building