Make sure -D_REENTRANT is added (DATASET-1113).