BUG: fix for bug 80, check include cxx now has an optional argument that can is added to the cxx flags