Make with -lstdc++ on BSD systems