This line needs to be:

```
CONFIG ++ [{erl_opts, HashDefine}]
```