Corrected the previously-reverse patch, and added to the build script.
Patch fix.