Added lept library name for Linux
Updated libs to use pthread on Linux