Fix LIB target build failure