format daemon.c and modify -L path for librpcsoc test