I think it would be better to avoid setting those global structures directly and call galois_init_default_field(int w) from Jerasure.  That will simplify your code and maintain a sane level of isolation.

To do this, galois_init_default_field() must be exposed via galois.h, which is a simple change.  Either one of us can make the change...