Compile gmp with cxx support