fixed compile on linux