Change the arguments parse function to be compliant with non C++11 compilers.