algebra now compiles with optimisation

also, limit the use of -Qinline-all to the runtime (libfoam)