Fix #1: Crash when there is a syntax error in pre-imported lib script