fixed build on linux.