corrected name for CPPFLGAS and added target all32 to allow building 32-bit shared library
ensured agent code builds for 32 bit target