Script to build xvdr for XBMC/Kodi on a mac