wrap library functions before putting them in asm function tables