Temp fix for XBMC osx problems (still not completely fixed). Still needs to be tested on windows.