Since Pythia8 is a static library on Windows, don't call gSystem->Load("$PYTHIA8/lib/libpythia8")