fix complie error on linux