Fixed Linux build.
Fixed newline in time string issue.
Removed unused arguments compiler warning.