Reset $PWD after compiling docs.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>