media:support linux build

Change-Id: Icee49df04cdd1ac5b55e2044d3d8f64fcc204c24
Signed-off-by: Laisheng Hu <laisheng@codeaurora.org>
14 files changed