closes #111 fixes to clang++ on mac issue