Extract cxxflags method from cflags method
Pass optimization and arch flags during configure
cairo: no longer require stdenv when building universal
erlang: remove superenv workaround