Create the base set of CXXFLAGS during autoconf, accounting for
compiler-specific flags.
Added MIT licence.