improve build on Linux