Fix unrecognized option errors when building with older versions of GCC (Issue #23).

This approach suggested by ppannuto.