move FP_USE_THREAD_SAFE_EVAL definition