Core/Scripts: Fix build

Closes #13636