fix for pyinstaller build.