\usepackage{pdftexcmds}
\makeatletter
\usepackage{fontspec}