build: fix debian build
mpegts: fix some compilation issues with various configure options
httpc: remove enabling of the test suite (fixes #2105)
iptv: fix possible NULL ptr access (fixes #2104)
autodetect platform
rename uuid_t to tvh_uuid_t
clock_gettime does not exist on OS X
darwin uses clang by default, enable microsoft proprietary anonimous structs