isalpha((unsigned char)*s) instead of isalpha((int)*s). Also replaced WRKSRC with BUILD_DIRS, which is more appropriate. Approved by jlam.