MacOSX: added bold/italic
fixes for OSX/non-OSX build