I found out that the Event Viewer keeps a record of when SRP blocks something. Using this, I found mingw32-make creates a .bat file in the user's %TEMP% folder. I then whitelisted that .bat file in SRP. It requires a wildcard since part of the .bat file's name is randomly generated.
However, this will allow any .bat file that matches the wildcard to be executed. This allows malicious files to be run if they match the wildcard.