modbase changes

MAC_PORT->MACOS_X