WIP PR for circumventing cblas_sgemv segfault in Accelerate

http://article.gmane.org/gmane.comp.python.scientific.devel/19141
https://github.com/numpy/numpy/issues/4007

you should be able to use NPY_TLS instead of pthreads, though I never tested if it works on mac, it does on linux and windows