fix mtest compilation