Core/Scripting: Compile fix