fix unittest compilation