Ling start script so that shared mem and pthreads work.