Fix the build on Linux: #include & linker changes