Use wcstol on android as wcstoll is not available