Merge pull request #1 from lukedeo/master

merge me
remove CXXFLAGS from linking: all we need to add is what comes from -m32
removed a bunch of root libraries that we (hopefully) don't need to link
Merge pull request #4 from dguest/master

possible linking fix