Debian build fixes

https://github.com/xbmc/xbmc/pull/4354 against master.