respect LDFLAGS and append CXXFLAGS
Merge pull request #9 from springmeyer/run-test-fixes

respect LDFLAGS and append CXXFLAGS