Fixed Windows/Ubuntu issue by replacing string (*char) for a char[].