compile fix for tests with TEST_STD defined

This fixes the TR1 tests.