LD_LIBRARY_PATH needed for linux build tests.  (Really, passing -Wl,-rpath to the linker would be better, but scons is not good about automating that.)
diff --git a/SConstruct b/SConstruct
index e32ed90..d0dfd80 100644
--- a/SConstruct
+++ b/SConstruct
@@ -77,6 +77,8 @@
 elif platform == 'linux-gcc':
     env.Tool( 'default' )
     env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall" )
+    LD_LIBRARY_PATH = os.environ.get('LD_LIBRARY_PATH', '')
+    os.environ['LD_LIBRARY_PATH'] = "%s:libs/linux-gcc" %LD_LIBRARY_PATH
 else:
     print "UNSUPPORTED PLATFORM."
     env.Exit(1)