fix missing isalnum in linux