Fix build problems in MediaDecoder tests