fix temporization functions.

If DEBUG was not set, the time structure was not initialized,
resulting in a unpredictable behaviour.