Due to this issue yannickl/DynamicColor#59 in DynamicColor repo this project also wont build in a release configuration.
The reporter of that issue has forked DynamicColor at https://github.com/t0rst/DynamicColor with a workaround.
I'm going to try and fork this repo and point the DynamicColor at that workaround for now.