Add missing include to use std::unique_ptr

This was causing issues when including this header from another file.
Merge pull request #243 from andybons/patch-1

Add missing include to use std::unique_ptr