Requiring React as late as possible to fix problems with grunt-env.