Fixed Linux compiler error in testing mode