Use C++11

- Build with C++11
- Remove boost dependency
- Use std::shared_ptr