Fix missing rpl_malloc for cross compilation.
Fix cross compile instructions.
Add extra #define guard, fix CMake.
Proper fix to malloc.
Merge pull request #118 from aitjcize/cross

Improve cross-compilation