You wouldn't still have libtcod 1.5.0 compiled for arm by any chance? It would be much easier to just include it while compiling instead of rewriting the code. Older versions also welcome.