Non-analyticity of the Callan-Symanzik beta-function of two-dimensional O(N) models