Fix to configure check for pthread library.
Fix to configure check for pthread library.

jeremysalwen/Ecasound-LV2,jeremysalwen/Ecasound-LV2,jeremysalwen/Ecasound-LV2,jeremysalwen/Ecasound-LV2,jeremysalwen/Ecasound-LV2