Core&Scripts: Compile fix