When detecting whether the compiler supports a warning flag, analyze compiler text output in addition to checking the exit status.

This is because compilers sometimes do not error out upon encountering an
unsupported warning flag, but merely print a warning.
TeeInput should set the underlying IO to binary mode.
Remove dependency on Rails 2.3 in Apache integration tests