Fix broken scripts

@davidfowl @loudej . Worked with @troydai and figured out the root cause of broken KRuntime build