Add serializable compilation exception for Groovy scripts