AP_GPS: make the examples compile in Linux