Added patch to core to fix warnings [#1824820-2]