Fix compilation of derivative_approximation.cc for VS 2013.

You adjust both the declaration of this function in the .h file and the definition in the .cc file, but not the instantiation in `grid_generator.inst.in` around line 117. I think this cannot work. Can you please fix the instantiation as well?