Added 'main_t', for linux