[CentOS] Strange C programming problem