Adding STM threadpool implementation
Switching to threadpool for build