Fixed some timespec operations.