Removed references to CFG_LIB_PRINTF_NEWLINE.
Added implementation of printf().