Add some build tests for thread_analyzer to catch build issues at CI. Signed-off-by: Daniel Leung <daniel.leung@intel.com>