using maxima to generate fortran code compiled with C++ together