Add addon config

This makes it possible to use the addons build of React.

Closes #13