[Fetch API] Add fetch API compile time flag