fix compiler errot at linux