Fixed library compatability between gcc 4.6.3 and 4.7.2 and libc 2.15 and 2.17 where uninitialize curChar defaulted to 0 on later libraries and 30000 on older ones.