fixed build on Linux