genewise: Fix build error on Linux

Replace isnumber with isdigit to fix the error:
undefined reference to `isnumber'
Tested with GCC 4.4.7

Closes #775