refactor the build process and integer types

- disable scons duplication
- create include/arch symlink
- add architecture specific <arch/types.h>
- refactor all pointers to uintptr_t