Fixing x11 GetRunningTime function.