Fixes std::numeric_limits on some older compilers
Merge pull request #18 from mrngm/patch-1

Fixes std::numeric_limits on some older compilers