WELD-1433 Introduce non-portable mode