fixed bug of time module in linux platform