fix libcheese dso linking build issue