Fixed make_unique to work with C++14+ compilers