Fix ``make.bat latexpdf`` mechanism to ``cd`` back to the build directory. (see #1520)
Set ``%BUILDDIR%`` to an absolute path using the common ``%~dp0`` trick.

--HG--
branch : psuter/fix-makebat-latexpdf-mechanism-to-cd-bac-1411635021827
fix: deque missing

--HG--
branch : stable
merge with stable
Merged in psuter/sphinx/psuter/fix-makebat-latexpdf-mechanism-to-cd-bac-1411635021827 (pull request #295)

Fix ``make.bat latexpdf`` mechanism to ``cd`` back to the build directory. (see #1520)