now builds without warnings and runs correctly with icpc/g++-4.8 on mac, g++ on Arch