Remove an unnecessary lib in the target