Make test script stop on compile/link errors