Port to gcc 4.9.0

There is an issue with GMP, as described at:

https://gcc.gnu.org/gcc-4.9/porting_to.html

section "Header <cstddef> changes". So we just need to make sure the <cstddef>
is always declared before <gmpxx.h>.

Otherwise it compiles and tests run.