Tools/Patcher: Added pattern & patch for portal to all build configurations