[hack] Add more dirty hacks to get it compile despite auto*