Add a stubbed Thread implementation for stdlib