Small modifications in InputParser::ReadParameters() to be compatible with any compilers/systems.