Adds the lookup of threads library

Issue: #50