HIP_CLANG_TARGET can contain newline. chomp it to avoid warnings since we use the result in file stat