fixed linux compile issue