Replacing  __STDC_LIMIT_MACROS with std::numeric_limits<>

Fixes #27