Re #9341. Don't add the OpenMP flag on Windows.

It causes a warning in link.exe (that states it's not using the flag
because it doesn't know what it means).
Merge branch 'bugfix/9341_doxygen_and_ccpcheck_warnings' into develop