cleanup and minor fixes

cleanup configure, fix xbmc-addon-bindings version parsing and make addons build on linux with cmake.
PREFIX stuff is not touched here.
@Montellese ping
yeah, those should never be unset, but the addon still builds fine without it, so maybe just make it 0 as fallback