Patch configure.ac to allow for "g++-4.2"

fixes #2