fixed python/setup.py to no longer contaminate extra_objs with header fi...

setup.py had a minor bug in it (assignment by value rather than with a copy) that was causing the headers to be compiled in.  This is clearly wrong and also causes trouble in some other work I'm doing; not sure why it's working now, to be honest!

@mr-c I think this is ready for merge to master.