fixed build on linux