Remove printf from library