[linux] fix building libxbmc.so
Merge pull request #5925 from wsnipex/fix-libxbmc-linux

[linux] fix building libkodi.so (closes #14914)