OCL : Fixed bug in build log output

It used to somehow output a unicode character \00, which would screw up the format when save to a txt file. This was probably due to modifying the string content directly. We're using a regular char[] now...