added in fix to check for empty TRAVIS_OS_NAME variable and default
to linux build if not found
Deleting the host will make pH a dangling pointer, so remove it from mTabMap first.