Fix some error on linux