Fix a warning with -pedantic on some old gcc versions
Tests: Make IMediaLibrary instance a unique_ptr