Disable pthread linking