test compile for unlink and is_linked

Signed-off-by: LAN Xingcan <lanxingcan@gmail.com>