Ignore pyc files
Get the #ifdef right

This fixes the problem with MPI runs having correct event information
but incorrect sweeps