Fixed linker errors with operator<<