Unified the size_t and added macros to define once

I did this because the regular expression library (though very out-of-date), bumped into error in the console. Which is because the size_t type is multiple-defined.