fixed tests compiling under Linux