compile fix for tests with TEST_STD defined