Fix dependency errors in control file