* configure.ac: Don't add -lstdc++ on FreeBSD 10 as it is not needed and adding it causes linking to fail.