Fixed compiling XBMC with samba4.