Fixed the import problem caused by xbmc/xbmc#5201 by moving the new build check code into the script. Closes #12.
Bumped version to 3.7.0