Trying to implement all the answers and comments given in this thread
using the ifxetex package,
I ended up with the following code for my preamble.
It allows to switch forth and back anytime between pdflatex and xelatex as compiler.
Note: When switching the compiler, one should delete the aux files.
\documentclass[
a4paper,
ngerman
]{scrbook}
\usepackage{amsmath}
\usepackage{ifxetex}
\ifxetex
% XeLaTeX
\usepackage{polyglossia}
\usepackage{fontspec}
\usepackage[]{unicode-math}
\setmainfont{XITS}
\setmathfont{XITS Math}
\else
% default: pdfLaTeX
\usepackage{babel}
\usepackage[T1]{fontenc}
%\usepackage{lmodern}
\usepackage[adobe-utopia]{mathdesign}
\usepackage[utf8]{inputenc}
\usepackage[babel=true]{microtype}
\fi
% some more packages like csquotes, biblatex, hyperref
\begin{document}
...
\end{document}
I had to load the amsmath package before the xelatex setmathfont command to avoid the error \dddot already defined.
With MiKTeX 2.9 one has to manually install the XITS fonts using the MiKTeX package manager.