Modified docbuilder to work with pyinstaller.