MediaPortal: fix Linux compile errors