Added a small workaround for an issue where gcc's configure falsely detects that the build host doesn't declare strstr (among others) as a result of trying to include gmp.h without the right search path. The workaround sets a macro that stops gmp.h from being included.