Some Linux build fixes.