Fixes several issues when building deb-src, missing classes.