Core/Scripting: Fix build