Fix build problems of makeudfimage with gcc4.

* _ALLOCATOR_H clashes with a std-include provided by gcc.
* add using declaration for std::list.
Fix build of unit-tests with gcc4.