Fix build on AmigaOS and devkitPro