fix issue 4 of #2396
fix issue 6 from #2396
fix issue 7 from #2396
use icu shaper to avoid needing to build harfbuzz right now - refs #2396
don't trust __cplusplus - addresses issue 5 from #2396