clang FTBFS [ambiguous declaration] buildlogs + patch