fix testbed2 compilation