Fix buildinfo generation (query_engine)