Adjusted compilation on Linux systems.