Checking numeric string indexes without is_numeric_string, Fixing 5.4 build