can't trust the compiler exit status, check for messages instead