Check compilation exit status instead of checking that every file has been compiled