Fix benchmark compilation