[MediaPortal] Fix non-Windows build
[MediaPortal] Fix g++ warnings