Add missing lib link to fix compile error.