If specific compiler flags are set, gmp will not build a shared library, causing failures further down the line.