Update tinydircpp.h

Fixed all bugs relating to the compilation on Windows machines, now works great. Changed the memory management initially handled by unique_ptr<T> to std::vector<T>. Among other bugs