Fix build for full prod with React.