closures: Use Feature Test Macro Requirements to check for mkostemp(3)