fixed build error on linux