Removes requirement that library is shared.