fixed several sizeof(void *) and sizeof(size_t) issues on alpha. Thanks to: Dave Huang and Tim Rightnour
NOTE: this branch (kame) is used just for refernce. this may not compile due to multiple reasons.