Fix for simba crash when compiling Lape scripts.