make: Corrected library name used in mex invocation

This is required for case-sensitive file systems (e.g., ext4).
make: Removed unused options_pthread variable
Merge pull request #3 from jynik/dev-issue_1

Linux build fix and removal of unused variable