Fix gcc errors on Linux systems.