Fixed package compatibility with pdflatex and xelatex