Define overridable PORTDIR make envvar to control ports switching
Move ucontext_t definition into its own ports module