\ifx\textasciitilde\undefined\def\textasciitilde{\~}\fi
