operator<< for toString and some compilation issues.