Move non-portable modules to legacy
Restore build after moving non-portable modules to legacy - WIP