core: skip argument parsing when pyinstaller is used closes #1479