Add build option --race

Hi,

I needed the option to build with --race so I forked and created this pull request. 
I'd like to know if this would be a useful feature on the main branch.

Thank you for this great app