Fixes Issue 8733 - Turn forward slashes into backslashes on Windows.
Merge pull request #1208 from AndrejMitrovic/Fix8733

Issue 8733 - Normalize -of and -od path on Windows
Allow out-of-source testsuite builds.

Previously, "./" was prefixed to $RESULTS_DIR in several places,
while $RESULTS_DIR == "test_result" was assumed in others.
Adapt -cov/-profile test to out-of-source builds.
Change test result dir to catch any leftover hard-coded paths.
Manually replace ${RESULTS_DIR} for Windows compatibility.