Fix compilation problems on Tiger