Fix TimeVal initialization