Try to fix build on Linux and MacOS