Fixed typo for building ast w/o threads - #if not #ifdef.