exit if compile fails