Remove double parenthesis and add 'LIBS' to SConstruct file.
diff --git a/SConstruct b/SConstruct
index b99496c..3c51288 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2,7 +2,7 @@
 double_conversion_test_sources = ['test/cctest/' + x for x in SConscript('test/cctest/SConscript')]
 test = double_conversion_sources + double_conversion_test_sources
 print(test)
-env = Environment(CPPPATH='#/src')
+env = Environment(CPPPATH='#/src', LIBS=['m', 'stdc++'])
 debug = ARGUMENTS.get('debug', 0)
 optimize = ARGUMENTS.get('optimize', 0)
 if int(debug):
diff --git a/src/strtod.cc b/src/strtod.cc
index 1f5fd66..9758989 100644
--- a/src/strtod.cc
+++ b/src/strtod.cc
@@ -519,7 +519,7 @@
 
   // If the guess doesn't lie near a single-precision boundary we can simply
   // return its float-value.
-  if ((f1 == f4)) {
+  if (f1 == f4) {
     return float_guess;
   }