It is possible to compile the C code and then have the python code generate data structures for the wrong compilation option, the most obvious being the master population table. We should do something about checking this on run e.g. instead of just checking a magic number we might check for the various compile options that python thinks we are using.