added MorphOS compatibility