Raise stack size to 8MB for pthreads