Add try/catch for serpent compilation