manually define CALLCONV as ccall