Ensured less compiler execution is thread safe
Merge pull request #2117 from jroper/less-thread-safety

Ensured less compiler execution is thread safe