Fix FParser AD compilation with --disable-threads

Is this the right fix?  I'm still running "make check" to see if this works at all at runtime.