Merge pull request #6222 from hcindyl/baremetal-threadless Add CMake option to support thread-less configuration