Add 'SHARED' to add_library in w32-pthreads cmake