Fixes a crash in the timed_debug static class