Build fix with mediastream enabled

Reviewed by: Hugo Parente Lima