Include the limits header for generated SWIG code. Fixes for gcc 4.8.