Add lazy pointer class.

This class aims to help construct global non-POD class in
multi-thread runtime.