Improve cross-compiler portability of applink.c module and mention