fix for prettify not defined error in static builds