Fix compilation for AmigaOS 4