Make Preprocess test work in RelWithDebInfo and MinSizeRel
The preprocess test fails in both RelWithDebInfo and MinSizeRel. This adds support for these two configurations and makes them be treated as release.
Ran both configs and the test now passes.