Improve cross-compilation

Fix missing rpl_malloc[1] and improve cross compile instruction

[1] http://wiki.buici.com/xwiki/bin/view/Programing+C+and+C%2B%2B/Autoconf+and+RPL_MALLOC