Set minimum version on mac to 10.8.5
Add dstr_end function to get the last character