Update UniquePtr for L

Fix build