I BEGGED the OP to provide an 8bit target.
Over on the kindle side of the fence we are a bit thin on the ground when it comes to developers... so.. yeah. begging.
https://github.com/ifly7charlie/XCSo...Build/issues/1
Hope the SDL works for you.
if I can tweak it in anyway and rebuild - let me know - happy to help.